package com.how2j.mapper;

import com.how2j.pojo.Category;
import com.how2j.util.PageSite;

import java.util.List;

public interface CategoryMapper {
    public void add(Category category);

    public void delete(int id);

    public Category get(int id);

    public void update(Category category);

    public List<Category> list();

    public List<Category> list1(PageSite pageSite);

    public int count();
}
